package com.binge.test.observer;

import java.util.Observable;

public class Target extends Observable {


    public void doSomething() {
        System.out.println("Target do something");
        super.setChanged();
        super.notifyObservers();
    }


    public void sleep(){
        System.out.println("Target sleep");
        super.setChanged();
        super.notifyObservers();
    }



}
